package com.fix.entity;

import java.util.Date;
import java.util.List;

public class Classes {
	
	private int  classId;
	private String className;
	private Date beginTime;
	private int peoples;
	
	// 班级里有很多学生
	List<Student> students; 
	
	public List<Student> getStudents() {
		return students;
	}
	public void setStudents(List<Student> students) {
		this.students = students;
	}
	
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public Date getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}
	public int getPeoples() {
		return peoples;
	}
	public void setPeoples(int peoples) {
		this.peoples = peoples;
	}
	
	@Override
	public String toString() {
		return "\nClasses [classId=" + classId + ", className=" + className + ", beginTime=" + beginTime + ", peoples="
				+ peoples + "]";
	} 

}
